<!--
 * @Author: 230800029 rixing.liu@hytera.com
 * @Date: 2024-04-19 11:48:25
 * @LastEditors: 230800029 rixing.liu@hytera.com
 * @LastEditTime: 2024-04-19 11:48:29
 * @FilePath: /vue3-pg/src/redirect.vue
 * @Description: 
 * Copyright (c) 2024 by rixing.liu, All Rights Reserved.
-->
<template>
  <div></div>
</template>

<script lang="ts" setup>
import { useRouter, useRoute } from "vue-router";

const router = useRouter();
const route = useRoute();

const gotoPath = route.params.path as string;

router.replace({ path: gotoPath });
</script>

<style scoped lang="less"></style>
